package com.ruoyi.service;

import java.util.List;
import com.ruoyi.domain.GoodsPackageDetail;

/**
 * 促销套餐明细Service接口
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public interface IGoodsPackageDetailService 
{
    /**
     * 查询促销套餐明细
     * 
     * @param packageDetailId 促销套餐明细主键
     * @return 促销套餐明细
     */
    public GoodsPackageDetail selectGoodsPackageDetailByPackageDetailId(Long packageDetailId);

    /**
     * 查询促销套餐明细列表
     * 
     * @param goodsPackageDetail 促销套餐明细
     * @return 促销套餐明细集合
     */
    public List<GoodsPackageDetail> selectGoodsPackageDetailList(GoodsPackageDetail goodsPackageDetail);

    /**
     * 新增促销套餐明细
     * 
     * @param goodsPackageDetail 促销套餐明细
     * @return 结果
     */
    public int insertGoodsPackageDetail(GoodsPackageDetail goodsPackageDetail);

    /**
     * 修改促销套餐明细
     * 
     * @param goodsPackageDetail 促销套餐明细
     * @return 结果
     */
    public int updateGoodsPackageDetail(GoodsPackageDetail goodsPackageDetail);

    /**
     * 批量删除促销套餐明细
     * 
     * @param packageDetailIds 需要删除的促销套餐明细主键集合
     * @return 结果
     */
    public int deleteGoodsPackageDetailByPackageDetailIds(Long[] packageDetailIds);

    /**
     * 删除促销套餐明细信息
     * 
     * @param packageDetailId 促销套餐明细主键
     * @return 结果
     */
    public int deleteGoodsPackageDetailByPackageDetailId(Long packageDetailId);
}
